﻿@model SocialASP.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
    <h2>Create a new account.</h2>
</hgroup>

@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal" }))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Registration Form</legend>
        @BootHelper.ControlFor(Html, m => m.UserName)
        @BootHelper.ControlFor(Html, m => m.Password)
        @BootHelper.ControlFor(Html, m => m.ConfirmPassword)
        @BootHelper.Submit("Register")
    </fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
